package com.ruoyi.mapper.fileshare;

import com.ruoyi.domain.fileshare.entity.SysFile;
import com.ruoyi.domain.fileshare.vo.FileShareDetailVo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface SysFileMapper {
    int deleteByPrimaryKey(Long id);

    int insert(SysFile row);

    int insertSelective(SysFile row);

    SysFile selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(SysFile row);

    int updateByPrimaryKey(SysFile row);

    List<SysFile> queryWithSelectiveFields(SysFile sysFile);

    List<SysFile> selectByIds(List<Long> ids);

    int insertBatch(List<SysFile> list);

    int deleteBatch(List<Long> ids);

    List<FileShareDetailVo> getFileShareDetail(@Param("id") Long id);
}